﻿using System.Drawing;
using SpImageCasheSDK;

namespace SpImageCacheActions
{
    class SpImageCacheRotateAction : ISpImageCacheAction
    {
        public Image Execute(Image image, params object[] actionParameters)
        {
            image.RotateFlip(RotateFlipType.Rotate90FlipNone);

            return image;
        }
    }
}
